package day3;

/**
 * this的使用
 */

public class Dog {

    
    public void jump(){
        System.out.println("正在执行jump方法");
    }


    public void run(){
        Dog d = new Dog();
        d.jump();
        System.out.println("正在执行run方法");
    }

    public void run2(){
        this.jump();
        System.out.println("正在执行run方法");
    }


    public void run3(){
        jump();
        System.out.println("正在执行run方法");
    }

}
